<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- 
        v-pre 显示原始的Mustache值
     -->
    <div id="app">
        <h1 v-pre>{{message}}</h1>
    </div>

    <!-- 引入vue.js -->
    <script src="../../js/vue.js"></script>

    <!-- 代码逻辑 -->
    <script>
        const dcl = {
            data() {
                return {
                    message: 'hello world'
                }
            },
        }
        Vue.createApp(dcl).mount('#app');
    </script>
</body>

</html>